import request from '../utils/test';

export const getAdminMsg = (data)=> request.post(`/msg/admin`,data)


export const uploadFile = (file) => {
    const formData = new FormData();
    formData.append('file', file);

    return request.post('/front/user/upload/upload', formData, {
        headers: {
            'Content-Type': 'multipart/form-data'
        }
    });
};
